/* 
 * File:   ebsources.h
 * Author: oddi
 *
 * Created on October 3, 2010, 12:51 PM
 */

#ifndef _EBSOURCES_H
#define	_EBSOURCES_H

#include "inc/core/global_definitions.h"


typedef vector3d efield;
typedef vector3d bfield;

typedef void(*esource)(timeref, floatdig pos, floatdig* E);
typedef void(*bsource)(timeref, floatdig pos, floatdig* B);

typedef struct  struct_sources_pack
{
    int num_of_esources;
    int num_of_bsources;
    esource* esources;
    bsource* bsources;
    
}sources_pack;


void ebsources_plot_t_profile_esource(char* homedir, char* filetosave, esource, floatdig z, timeref start, timeref stop, timeref dt);


#ifdef	__cplusplus
extern "C" {
#endif




#ifdef	__cplusplus
}
#endif

#endif	/* _EBSOURCES_H */

